package core.imust.com.jrtt.fragment;


import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import core.imust.com.jrtt.R;

public class BaseFragment extends Fragment {

   @Nullable
   @Override
   public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
       View view =  View.inflate(getContext(), R.layout.fragment_home,null);
       TextView textView = (TextView)view;
       textView.setBackgroundColor(Color.GRAY);
       textView.setText(getClass().getSimpleName());
        return view;
   }
}
